how to find linear equation coefficient